package com.elec.domain.entity;

import java.util.Date;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 记录用户电费账单详情(ElectricityBill)表实体类
 *
 * @author yu
 * @since 2024-07-05 13:42:59
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("electricity_bill")
public class ElectricityBill {
    @TableId
    private Integer billId;

    //用户ID，关联用户表
    private Integer userId;
    //计费周期开始日期
    private Date billingPeriod;
    //用电量（千瓦时）
    private Double electricityConsumption;
    //应缴电费金额
    private Double billAmount;
    //缴费状态
    private Object paymentStatus;
    //账单生成日期
    private Date createdAt;


}
